<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<?php include_title() ?>
		<?php include_http_metas() ?>
		<?php include_metas() ?>
		<meta http-equiv="content-language" content="vi-vn" />
		<meta http-equiv="pragma" content="no-cache" />
		
		<link rel="index" title="Long Duc Recruitment Center" href="#" />
		<link rel="shortcut icon" href="/taichinhgiadinh.com.vn.ico" />
		<?php include_stylesheets() ?>
		<?php include_javascripts() ?>
		<script type="text/javascript">
			$(function(){
				MAIN.currentLang = '<?php echo $sf_user->getCulture()?>';
				MAIN.newsId	= '<?php echo $sf_user->getAttribute('newsId', '-1')?>';
				MAIN.init();
			});
		</script>
		<script type="text/javascript">
			$(function(){
				var $isComplete = '<?php echo $data['error_code']?>';
				if($isComplete == '1'){
					parent.$('a.add-file').text('<?php echo $data['file_original']?>');
					parent.$('#Contact_file_url').val('<?php echo $data['file_add']?>');
					parent.$.fancybox.close();
				}
			});
		</script>
		<style type="text/css">
<!--
body{
	height: 150px;
}
div.form{
	padding: 0px;
	margin: 0px;
}
div.form{
	width: 400px;
	
}
div.form div.error{
	color: #f00;
}
div.form label{
	width: 150px;
	display: inline-block;
}
div.form input{
	width: 350px;
}
-->
</style>
	</head>
	<body>	
		<div class="form">
			<form action="?" method="post" enctype="multipart/form-data">
				<input type="hidden" name="contact" id="contact" value="file"/>
	  		<div class="error"><?php echo empty($data['error_code'])?(__('file-filter').str_replace('|',', ',sfConfig::get('app_contact_filter'))) :__('contact-add-file-'.$data['error_code'])?></div>
	  		<label for="add_file"><?php echo __('file-upload-select')?></label><br/>
	  		<input type="file" name="add_file" id="add_file"/><br/>
	  		<input type="submit" value="<?php echo __('contact-add-file')?>" class="button"/>
	  	</form>
		</div>
		<div class="clr"></div>
	</body>
</html>
